#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QtGui/QMainWindow>

class DotView;
class DotController;
class DotModel;
class QDockWidget;
class ControlPanel;
class QScrollArea;
class BuddyWnd;

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();

protected:
    void closeEvent(QCloseEvent *pEvent);

public slots:
    void showAboutDot();
    void gameCanceled();
    void newMsgCame();

private:

private:    
    DotView *mpView;
    DotController *mpController;
    DotModel *mpModel;
    QDockWidget *mpDockWidgetCtrlPnl,*mpDockWidgetBuddyPnl;
    ControlPanel *mpCtrlPnl;
    BuddyWnd *mpBuddyPnl;
    QScrollArea *mpScrollArea;
};

#endif // MAINWINDOW_H
